package com.xj.admin.bussiness.deviceInformation.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xj.admin.bussiness.deviceInformation.service.TbDeviceInformationService;
import com.xj.common.bussiness.deviceInformation.entity.TbDeviceInformation;
import com.xj.common.bussiness.deviceInformation.entity.DeviceInfoMould;
import com.xj.common.bussiness.deviceInformation.mapper.TbDeviceInformationMapper;
import com.xj.common.bussiness.transferLicense.entity.TbTransferLicense;
import com.xj.common.bussiness.transferLicense.entity.transferLicenseMould;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Hmemb
 * @since 2018-03-27
 */
@Service
public class TbDeviceInformationServiceImpl extends ServiceImpl<TbDeviceInformationMapper, TbDeviceInformation> implements TbDeviceInformationService {

    @Autowired
    private TbDeviceInformationMapper deviceInformationMapper;

    @Override
    public List<DeviceInfoMould> searchDevcieInformationList(TbDeviceInformation tbDeviceInformation) {
        return deviceInformationMapper.searchDeviceInformationList(tbDeviceInformation);
    }

    @Override
    public List<DeviceInfoMould> machineryDevcieInformationList(TbDeviceInformation deviceInformation) {
        return deviceInformationMapper.machineryDevcieInformationList(deviceInformation);
    }

    @Override
    public List<DeviceInfoMould> statementDevcieInformationList(TbDeviceInformation statementDeviceInformation) {
        return deviceInformationMapper.statementDevcieInformationList(statementDeviceInformation);
    }

    @Override
    public List<DeviceInfoMould> entrustDevcieInformationList(TbDeviceInformation entrustDeviceInformation) {
        return deviceInformationMapper.entrustDevcieInformationList(entrustDeviceInformation);
    }

    @Override
    public List<TbDeviceInformation> selectByIdentificationOrFactoryNum(TbDeviceInformation deviceInformation) {
        return deviceInformationMapper.selectByIdentificationOrFactoryNum(deviceInformation);
    }

//    @Override
//    public List<DeviceInfoMould> search(TbDeviceInformation searchDeviceInformation) {
//        return deviceInformationMapper.search(searchDeviceInformation);
//    }

}
